Skip to content

Modified fuzz.cpp and Added a dict #994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed

Modified fuzz.cpp and Added a dict #994

wants to merge 9 commits into from

Conversation

Google-Autofuzz
Copy link
Contributor

The old fuzz.cpp didn't pass the afl engine test. Also, added a dictionary to increase the coverage of the test.

@Google-Autofuzz
Copy link
Contributor Author

Google-Autofuzz commented Aug 1, 2019

This new fuzz target fix the afl engine test when we upstream to OSS-Fuzz. The old fuzz target has some issue when afl tested with the word "input". Thank you. Link: google/oss-fuzz#2577 (comment) @baylesj @BillyDonahue

@Google-Autofuzz
Copy link
Contributor Author

Friendly ping :)

#include "json/features.h"
#include "json/reader.h"
#include "json/value.h"
#include "json/writer.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use #include "json/json.h" instead of "json/features.h", "json/reader.h", "json/value.h", "json/writer.h"

@dota17
Copy link
Member

dota17 commented Sep 9, 2019

When I run this fuzz test case, there will be LeakSanitizer has encountered a fatal error. See the detail in #1013. I supposed there is something wrong in this fuzz.cpp.

@Google-Autofuzz
Copy link
Contributor Author

Closing this PR because it isn't better than the previous fuzz.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants